Skip to main content

Default Configurations

Here you can find all the default configuration files.

config.yml
# Plugin prefix for messages
prefix: "&8[&#FF8000CocoKoth&8] &7ยป"

# Locale file to use (place in locale/ folder)
locale-file: "messages_en.yml"

# Database configuration
database:
type: "h2"
table-prefix: "cocokoth_"

sqlite:
file: "cocokoth.db"

mysql:
host: "localhost"
port: 3306
database: "cocokoth"
username: "root"
password: ""
ssl: false
pool-size: 10

# how often should leaderboards update?
leaderboard-update-seconds: 180

# Selection wand settings
wand:
material: "WOODEN_AXE"
name: "&#FF8000&lSelection Wand"
lore:
- ""
- "&fUse this to select"
- "&fthe KOTH area."
- ""
- "&eLeft-Click &6ยป &fSelect position #1"
- "&eRight-Click &6ยป &fSelect position #2"
- ""

# Team plugin integration settings
team:
enabled: true
mode: "cocoguild"
placeholder: "%cocoguild_guild_name%"
no_team_placeholder: "-"
count-player-wins-in-top: false

# Capture broadcast interval
capture-broadcast-every-seconds: 5

# Hologram display settings
holograms:
background-color: 00000000
alignment: center
billboard: vertical
see-through: false
shadow: true

# Capturer glow effect
capturer-glow:
enabled: false

# Timer format (1=HH:MM:SS, 2=short, 3=text)
timer-format: 1

config-version: 1
Capture KOTH Example
display-name: "Example Capture KotH"
mode: CAPTURE

settings:
capture-time-seconds: 180
capture-end-reset-time: true
max-time-seconds: 7200
end-reward-capturer: false

minimum-players: 0
broadcast-distance: 0

zone:
location1: "world,0,64,0"
location2: "world,10,74,10"

bossbar:
enabled: true
only-show-when-capturing: false
view-distance: 70
name: "&#FF0000%displayName% &#DDDDDD| &#FF6600%capturer% &#DDDDDD(%timeLeft_formatted%)"
color: RED
style: NOTCHED_20

scoreboard:
enabled: true
only-show-when-capturing: false
view-distance: 70
title: '&#FF0000&l%displayName%'
lines:
- ' '
- '&#FF0000Location:'
- ' &#444444โ™ &fX%x%; Y%y%; Z%z%'
- ' '
- '&#FF0000Capturer:'
- ' &#444444โ™ &f%capturer_raw%'
- ' '
- '&#FF0000Time:'
- ' &#444444โ™ &f%timeLeft_formatted%'
- ' '
- '&#FF0000play.yourserver.com'

hologram:
enabled: true
location-offset:
x: 0
y: 3
z: 0
lines:
- "&#FF0000&l%displayName%"
- "&f%capturer_raw% &7| &f%timeLeft_formatted%"

starter:
enabled: true
material: "BLAZE_POWDER"
glow: true
name: "&#FF0000%displayName% &#DDDDDDStarter"
lore:
- " "
- "&#FF0000Information:"
- " &#444444โ™ &#FFAA66Location: &#FFFFFF%world% %x%, %y%, %z%"
- " &#444444โ™ &#FFAA66Type: &#FFFFFFCapture KotH"
- " "
- "&#FFAA66Right-click to start!"

reward-commands:
- "give %player% diamond 5"
- "say %player% has captured %displayName%!"

start-commands:
- "say %displayName% has started!"

end-commands:
- "say %displayName% has ended!"

capture-start-commands:
- "say %player% started capturing %displayName%!"

capture-end-commands:
- "say %player% stopped capturing %displayName%!"
Score KOTH Example
display-name: "Example Score KotH"
mode: SCORE

settings:
team-mode: false
capture-time-seconds: -1
max-time-seconds: 1200

minimum-players: 0
broadcast-distance: 0

zone:
location1: "world,0,64,0"
location2: "world,10,74,10"

bossbar:
enabled: true
only-show-when-capturing: false
view-distance: 70
name: "&#FF0000%displayName% &#DDDDDD| &#FF6600%capturer% &#DDDDDD(%timeLeft_formatted%)"
color: RED
style: NOTCHED_20

scoreboard:
enabled: true
only-show-when-capturing: false
view-distance: 70
title: '&#FF0000&l%displayName%'
lines:
- ' '
- '&#FF0000Location:'
- ' &#444444โ™ &fX%x%; Y%y%; Z%z%'
- ' '
- '&#FF0000Leaderboard:'
- ' &#FFFF001. &f%score_1_player%: &f%score_1_points%'
- ' &#FFAA002. &f%score_2_player%: &f%score_2_points%'
- ' &#FF66003. &f%score_3_player%: &f%score_3_points%'
- ' &#FF0000You: &f%score%'
- ' '
- '&#FF0000Ends in:'
- ' &#444444โ™ &f%maxTimeLeft_formatted%'
- ' '
- '&#FF0000play.yourserver.com'

hologram:
enabled: true
location-offset:
x: 0
y: 3
z: 0
lines:
- "&#FF0000&l%displayName%"
- "&f%capturer% &7| &f%timeLeft_formatted%"

starter:
enabled: true
material: "BLAZE_POWDER"
glow: true
name: "&#FF0000%displayName% &#DDDDDDStarter"
lore:
- " "
- "&#FF0000Information:"
- " &#444444โ™ &#FFAA66Location: &#FFFFFF%world% %x%, %y%, %z%"
- " &#444444โ™ &#FFAA66Type: &#FFFFFFScore KotH"
- " "
- "&#FFAA66Right-click to start!"

reward-commands:
- "TOP:1:give %player% diamond 10"
- "TOP:1:say %player% won %displayName% in 1st place!"
- "TOP:2:give %player% gold_ingot 5"
- "TOP:3:give %player% iron_ingot 5"

start-commands:
- "say %displayName% has started!"

end-commands:
- "say %displayName% has ended!"

capture-start-commands:
- "say %player% started capturing %displayName%!"

capture-end-commands:
- "say %player% stopped capturing %displayName%!"